package com.ms.service.module.zone.db;

import java.io.Serializable;
import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.xpec.c4.db.model.basic.BasicGameModel;

/**
 * 遊戲全館彩金資料表
 * @author TW15012
 *
 */
@Entity
@org.hibernate.annotations.Entity(dynamicInsert=true,dynamicUpdate=true)
@Table(name = "game_jackpot")
public class GameJackPotDataModel extends BasicGameModel implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -1218871143950293692L;

	/**
	 * 遊戲類型
	 * 
	 * @see com.ms.game.common.GameType
	 */
	private String gameType;
	
	/**
	 * 遊戲館類別
	 * 
	 * @see define by game
	 */
	private String hallType;
	
	/**
	 * 當前jp金額
	 */
	private BigDecimal jackpotMoney;
	
	/**
	 * jp歷史累積彩金
	 */
	private BigDecimal jackpotHistroy;
	
	/**
	 * jp歷史總累積彩金
	 */
	private BigDecimal jackpotHistorytotal;
	
	
	
	private BigDecimal hjp;
	
	
	private BigDecimal hjpHistorytotal;
	
	/**
	 * 更新時間
	 */
	private long modify_time;
	
	/**
	 * 創建時間
	 */
	private long create_time;
	
	/**
	 * jp隨機值
	 */
	private BigDecimal jackpotrand;
	
	@Column(precision = 19, scale = 2 , columnDefinition="DECIMAL(19,2) default 0.0")
	public BigDecimal getJackpotrand() {
		return jackpotrand;
	}

	public void setJackpotrand(BigDecimal jackpotrand) {
		this.jackpotrand = jackpotrand;
	}

	@Column(name="gameType" , columnDefinition="VARCHAR(20) default \'\'")
	public String getGameType() {
		return gameType;
	}

	public void setGameType(String gameType) {
		this.gameType = gameType;
	}

	@Column(name="hallType" , columnDefinition="VARCHAR(20) default \'\'")
	public String getHallType() {
		return hallType;
	}

	public void setHallType(String hallType) {
		this.hallType = hallType;
	}
	
	@Column(precision = 19, scale = 2 , columnDefinition="DECIMAL(19,2) default 0.0")
	public BigDecimal getHjp() {
		return hjp;
	}

	public void setHjp(BigDecimal hjp) {
		this.hjp = hjp;
	}

	@Column(precision = 19, scale = 2 , columnDefinition="DECIMAL(19,2) default 0.0")
	public BigDecimal getHjpHistorytotal() {
		return hjpHistorytotal;
	}

	public void setHjpHistorytotal(BigDecimal hjpHistorytotal) {
		this.hjpHistorytotal = hjpHistorytotal;
	}
	
	@Column(precision = 19, scale = 2 , columnDefinition="DECIMAL(19,2) default 0.0")
	public BigDecimal getJackpotHistorytotal() {
		return jackpotHistorytotal;
	}

	public void setJackpotHistorytotal(BigDecimal jackpotHistorytotal) {
		this.jackpotHistorytotal = jackpotHistorytotal;
	}
	
	@Column(precision = 19, scale = 2 , columnDefinition="DECIMAL(19,2) default 0.0")
	public BigDecimal getJackpotMoney() {
		return jackpotMoney;
	}

	public void setJackpotMoney(BigDecimal jackpotMoney) {
		this.jackpotMoney = jackpotMoney;
	}

	@Column(precision = 19, scale = 2 , columnDefinition="DECIMAL(19,2) default 0.0")
	public BigDecimal getJackpotHistroy() {
		return jackpotHistroy;
	}

	public void setJackpotHistroy(BigDecimal jackpotHistroy) {
		this.jackpotHistroy = jackpotHistroy;
	}

	public long getModify_time() {
		return modify_time;
	}

	public void setModify_time(long modify_time) {
		this.modify_time = modify_time;
	}

	public long getCreate_time() {
		return create_time;
	}

	public void setCreate_time(long create_time) {
		this.create_time = create_time;
	}
}
